package com.rinlink.jbcodec.transform;

import java.nio.ByteBuffer;

public class BytesToFloat extends BytesToNumber<Float> {

    public BytesToFloat(ByteBuffer byteBuffer, String byteOrder) {
        super(byteBuffer,byteOrder);
    }

    @Override
    public Float transform() {
        return getByteBuffer().getFloat();
    }
}
